#ifndef _PVR_DIRECTX_
#define _PVR_DIRECTX_

#include "windows.h"

#ifdef __cplusplus
extern "C" {
#endif

int InitDX(HWND hwnd,int W,int H);
void DirectYUV(HWND hwnd,BYTE* Y,BYTE* U,BYTE* V,int W,int H,int addField);
void DirectIconYUV(HWND hwnd,BYTE* Y,BYTE* U,BYTE* V,int W,int H, int LineSize);
int OnMoveResizeDX(HWND hwnd,int W,int H);


#ifdef __cplusplus
}
#endif

#endif
